package com.ruoyi.ship.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 查询日志对象 tqwl_ship_log
 * 
 * @author ruoyi
 * @date 2021-11-05
 */
public class TqwlShipLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long shipLogId;

    /** MMSI */
    @Excel(name = "MMSI")
    private String mmsi;

    /** 外键ship_id */
    @Excel(name = "外键ship_id")
    private Long shipId;

    /** 经度 */
    @Excel(name = "经度")
    private String lon;

    /** 纬度 */
    @Excel(name = "纬度")
    private String lat;

    /** 查询时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "查询时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date searchTime;

    /** 消息 */
    @Excel(name = "消息")
    private String message;

    /** 是否可用 */
    @Excel(name = "是否可用")
    private Integer isEnable;

    public void setShipLogId(Long shipLogId) 
    {
        this.shipLogId = shipLogId;
    }

    public Long getShipLogId() 
    {
        return shipLogId;
    }
    public void setMmsi(String mmsi) 
    {
        this.mmsi = mmsi;
    }

    public String getMmsi() 
    {
        return mmsi;
    }
    public void setShipId(Long shipId) 
    {
        this.shipId = shipId;
    }

    public Long getShipId() 
    {
        return shipId;
    }
    public void setLon(String lon) 
    {
        this.lon = lon;
    }

    public String getLon() 
    {
        return lon;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setSearchTime(Date searchTime) 
    {
        this.searchTime = searchTime;
    }

    public Date getSearchTime() 
    {
        return searchTime;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setIsEnable(Integer isEnable) 
    {
        this.isEnable = isEnable;
    }

    public Integer getIsEnable() 
    {
        return isEnable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shipLogId", getShipLogId())
            .append("mmsi", getMmsi())
            .append("shipId", getShipId())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("updateTime", getUpdateTime())
            .append("searchTime", getSearchTime())
            .append("message", getMessage())
            .append("isEnable", getIsEnable())
            .toString();
    }
}
